import Vue from 'vue'

let server = process.env.VUE_APP_RESTAURANTPCSERVICE;
let getAllDetailUrl = '/goodorderdetail/getorderdetail';
let getGoodOrderUrl = '/goodorder/getgoodorder';


export default{
	getAllDetailService: function(paramsObj,callBack){
		Vue.axios.get(`${server}${getAllDetailUrl}/${paramsObj}`).then(res => {
			callBack(res.data);
		})
	},
	getGoodOrderService: function(paramsObj,callBack){
		Vue.axios.get(`${server}${getGoodOrderUrl}/${paramsObj}`).then(res => {
			callBack(res.data);
		})
	},
}